import React, {Component} from 'react';
import {
    StyleSheet,
    Text,
    View,
    Button
} from 'react-native';

export  default  class SecondPage extends  Component{
    static navigationOptions={
        title:"第二个界面",
        // headerLeft: <Button title='Info'/>
    }
    render(){
        return(
            <View style={styles.container}>
                <Text>第二个界面</Text>
            </View>
        )
    }
}

const  styles=StyleSheet.create({
    container:{
        backgroundColor:"red",
    }
})